﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.Infrastructure.Query
{
    /// <summary>
    /// 查询基础----涉及到分页的查询都需要继承于它
    /// </summary>
    public class QueryBase
    {
        /// <summary>
        /// 每页行数
        /// </summary>
        public virtual int PageSize { get; set; } = 10;
        /// <summary>
        /// 当前页
        /// </summary>
        public virtual int PageIndex { get; set; } = 1;

        public virtual string SortType { get; set; } = "Desc";

        public virtual string Sort { get; set; }
    }
}
